﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="Index-Down">
  <div id="Index-adv"><img src="pp/big-pp1.jpg" width="467" height="636" /></div>
  <div id="Adv-Slect">
    <div class="Adv-Slect-PP"><a href="#"><img src="pp/pp01.jpg" width="79" height="79" /></a></div>
    <div class="Adv-Slect-txt">彼得‧杜拉克</div>
    <div class="Adv-Slect-PP"><a href="#"><img src="pp/pp02.jpg" width="79" height="79" /></a></div>
    <div class="Adv-Slect-txt">巴克敏斯特‧<br />富勒</div>
    <div class="Adv-Slect-PP"><a href="#"><img src="pp/pp03.jpg" width="79" height="79" /></a></div>
    <div class="Adv-Slect-txt">黃禎祥</div>
  </div>
  <div id="slogn"> id "slogn" 的內容放在這裡</div>
  <div id="Act-Title">
    <a href="news.aspx?node=4"><div class="more2"></div></a>
      <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
          <ItemTemplate>
          <ul class="Act-3actUL">
      <li class="Act-3PP"><a href='<%#String.Format("news_in.aspx?id={0}", DataBinder.Eval(Container,"DataItem.PostId"))%>'>
          <asp:Image ID="imgPicFileName" runat="server" Width="155" Height="49" ImageUrl='<%#String.Format("upload/{0}", DataBinder.Eval(Container,"DataItem.PicFileName"))%>' /></a></li>      
      <li class="Act-title"><asp:Literal ID="ltlTitle" runat="server" Text='<%# Bind("Title") %>'></asp:Literal></li>
      <li class="Act-txt">開課日期 [<asp:Literal ID="ltlShowDate" runat="server" Text='<%# Eval("ShowDate","{0:yyyy.MM.dd}") %>'></asp:Literal> ]</li>
    </ul>
          </ItemTemplate>
      </asp:Repeater>
  </div>
</div>
</asp:Content>

